package com.losdun.weixin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.losdun.weixin.domain.WechatUser;

import java.util.List;

/**
 * @Description
 * @Author Sword.Ye
 * @Date 2025/8/18
 **/
public interface WechatUserService extends IService<WechatUser> {

    List<WechatUser> selectWechatUserList(WechatUser wechatUser);

    WechatUser getWechatUserByOpenId(String openId);

    boolean checkPhoneExists(String phoneNumber, String openId);

    WechatUser createWxUser(String openId);

    void bindPhone(String openId, String phoneNumber);
}
